.disable {
  color: rgb(0 0 0 / 35%) !important;
  cursor: not-allowed !important;
}

.message-close-icon {
  color: #B5B5B5;
  margin-left: 30px;
  cursor: pointer;
}

.monaco {
  height: 100%;
  width: 100%;
  position: relative;

  :global {
    .ant-spin-nested-loading {
      width: 100%;
      height: 100%;

      .ant-spin-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;

        .ant-spin-text {
          color: #1890ff;
          text-shadow: 0 0 0 #1890ff !important;
        }
      }
    }
  }

  /* 定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸 */
  .monaco_container {
    height: calc(100% - 41px);
    width: 100%;
    background-color: rgb(242 243 245 / 39%);
    display: flex;
    display: flex;
    flex-direction: column;
    flex-direction: column;

    .monaco_container_box {
      flex: 1;
      overflow: hidden;
      display: flex;
      height: 100%;
    }

    .monaco_container_editor {
      flex: 1;
      overflow: hidden;
    }

    :global {
      .react-resizable-handle {
        position: absolute;
        width: 100%;
        height: 10px;
        top: 0;
        right: 0;
        cursor: row-resize;
        z-index: 99;
      }
    }
  }
}

.monaco_work {
  width: 100%;
  height: 41px;
  background-color: rgb(255 255 255 / 100%);
  border-bottom: 1px solid;
  border-bottom-color: rgb(255 255 255 / 10%);
  padding-left: 6px;

  dl {
    float: left;
    font-size: 12px;
    color: rgb(0 0 0 / 65%);
    line-height: 40px;
    cursor: pointer;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 0;

    dt,
    dd {
      float: left;
      margin-bottom: 0;
    }

    dt {
      margin-right: 5px;
    }
  }

  .caozuojilu {
    float: right;
    margin-right: 19px;
  }

  :global {
    .ant-upload {
      color: rgb(0 0 0 / 65%);
      font-size: 12px;
      line-height: 40px;
    }
  }
}